package com.woniuxy01;

/**
 * @author 作者
 * @create 2025-05-30 9:33
 */
public class Test09 {
    public static void main(String[] args) {
        Feeder feeder = new Feeder();
        Animal animal=new Cat();
        feeder.feed(animal);
        animal=new Dog();
        feeder.feed(animal);
    }
}
